package com.jdjw.modules.busfarmersapply.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;

import com.google.common.collect.Lists;
import com.jdjw.modules.wftask.entity.WfTask;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 农户重大疾病困难补助
 * </p>
 *
 * @author fq
 * @since 2021-07-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="BusFarmersApply对象", description="农户重大疾病困难补助")
public class BusFarmersApply implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.UUID)
    private String id;

    @ApiModelProperty(value = "受助人姓名")
    private String rhName;

    @ApiModelProperty(value = "性别")
    private String rhSex;

    @ApiModelProperty(value = "首次确诊时间")
    private Date firstConfirmedDate;

    @ApiModelProperty(value = "受助人身份证号")
    private String rhNo;

    @ApiModelProperty(value = "受助人身份证有效期限")
    private String rhNoLimit;

    @ApiModelProperty(value = "领取人姓名")
    private String gpName;

    @ApiModelProperty(value = "领取人与受助人关系")
    private String gpRh;

    @ApiModelProperty(value = "领取人与受助人关系(其他)")
    private String gpRhOther;

    @ApiModelProperty(value = "领取人身份证号")
    private String gpNo;

    @ApiModelProperty(value = "领取人身份证有效期限")
    private String gpNoLimit;

    @ApiModelProperty(value = "手机号码")
    private String mobile;

    @ApiModelProperty(value = "家庭住址")
    private String address;

    @ApiModelProperty(value = "银行卡号")
    private String bankNo;

    @ApiModelProperty(value = "开户行名称")
    private String bankName;

    @ApiModelProperty(value = "申请救助项目")
    private String projectType;

    @ApiModelProperty(value = "应急医疗救助")
    private String medicalType;

    @ApiModelProperty(value = "个人承担医疗费用")
    private String medicalCost;

    @ApiModelProperty(value = "附件资料（诊断报告、病历、发票）")
    private String fileId;

    @ApiModelProperty(value = "所属组织机构")
    private String orgCode;

    @ApiModelProperty(value = "修改人")
    private String updateBy;

    @ApiModelProperty(value = "修改时间")
    private Date updateDate;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    private Date createDate;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "是否死亡")
    private String deathornot;

    @ApiModelProperty(value = "0申请中 1失败 2正常")
    private String passFlag;


    @TableField(exist = false)
    private  String  orgCodeName;

    @TableField(exist = false)
    private  String  userName;
    @TableField(exist = false)
    private  String  taskId;

    @TableField(exist = false)
    private  String  taskStatus;

    @TableField(exist = false)
    private  String  nodeName;

    @TableField(exist = false)
    private String nodeCode;
    /**状态*/
    @TableField(exist = false)
    private  String  status;

    @TableField(exist = false)
    private WfTask wfTask;

    @TableField(exist = false)
    private List<WfTask> taskList = Lists.newArrayList();


    @TableField(exist = false)
    private  String  attIds;


    @TableField(exist = false)
    private  String  flow;


}
